package cn.qiyu5522.tk_ems.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 学生简历投递记录表
 * </p>
 *
 * @author Tonkey
 * @since 2023-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_resume_delivery_record")
@ApiModel(value="ResumeDeliveryRecord对象", description="学生简历投递记录表")
public class ResumeDeliveryRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "简历ID")
    @TableField("resume_id")
    private Integer resumeId;

    @ApiModelProperty(value = "学生ID")
    @TableField("student_id")
    private Long studentId;
    @ApiModelProperty(value = "岗位ID")
    @TableField("job_id")
    private Integer jobId;

    @ApiModelProperty(value = "公司ID")
    @TableField("company_id")
    private Long companyId;

    @ApiModelProperty(value = "投递时间")
    @TableField("delivery_time")
    private LocalDateTime deliveryTime;

    @ApiModelProperty(value = "状态，0表示未查看，1表示已查看")
    @TableField(value = "state",fill = FieldFill.INSERT)
    private Integer state;

    @ApiModelProperty(value = "查看时间")
    @TableField("view_time")
    private LocalDateTime viewTime;


    public interface Update {
    }

    public interface Insert {
    }
}
